public class Inbasket {
 
//	private static Inbasket _BS7IE7 = new Inbasket();
//	private static Inbasket _BS7IE8 = new BS7IE7();
	
	public void start(){
		this.getImplementClass().start();
	}
	
	public void stop(){
		this.getImplementClass().stop();
	}
	
	
	public Inbasket getImplementClass(){
		if(true){
			return new BS7FF3();			
		}else{
			return new BS7IE7();
		}		
	}
	
//	public static Inbasket getInbasket(){
//		if(true){
//			return new BS7FF3();			
////		}else{
////			return new BS7FF3();			
//		}
////		return null;
//	}
	
	public class BS7IE7 extends Inbasket{
		public void start(){
			System.out.println("BS7IE7 start");		
		}
		
		public void stop(){
			System.out.println("BS7IE7 stop");
		}
	}
	
	public class BS7FF3 extends Inbasket{
		public void start(){
			System.out.println("BS7FF3 start");		
		}
		
		public void stop(){
			System.out.println("BS7FF3 stop");
		}
	}
}

